home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Your Choice 3
/
Your Choice Software Collection 3.iso
/
dos
/
qpeg15e
/
install.dat
/
DRVSRC
/
AHEADB.ASM
< prev
next >
Wrap
Assembly Source File
|
1994-07-02
|
557b
|
37 lines
;
; QPEG video driver
; for VGA graphics cards based on Ahead-B chipsets.
; Should work with Ahead-B _only_.
; Provided by Guy Desrosiers.
;
.286
Code Segment Para 'Code'
Assume cs:Code
Org 100h
Procs dw Bank,Init,Exit,0
Bank: push ax
push cx
mov ch,al
mov dx,3ceh
mov ax,200fh
out dx,ax
mov ah,ch
mov cl,4
shl ah,cl
or ah,ch
mov al,0dh
out dx,ax
pop cx
pop ax
retf
Init: retf
Exit: retf
Code Ends
End Procs